package com.xpc.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Project：UniversityGradeAdministrationSystem
 * Date：2022/5/3
 * Time：2:37
 * Description：学生表(Student)表实体类
 *
 * @author 南北辰的键盘
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("serial")
public class Student {
    //用户ID
    @TableId(value = "user_id")
    private Long userId;
    //班级ID
    private Integer classId;
    //年级
    private String grade;
    //专业ID
    private Integer majorId;
    //学院ID
    private Integer collegeId;
    //宿舍
    private String dorm;
    //出生日期
    private Date date;
    //籍贯
    @TableField(value = "native")
    private String myNative;
    //民族
    private String nation;
    //证件类型，0=中华人民共和国居民身份证，1=护照
    private Integer idType;
    //证件号
    private String idCdoe;

}
